package com.xinhuajs.articlemg.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xinhuajs.articlemg.dao.IArticleDAO;
import com.xinhuajs.articlemg.service.IUserArtService;
@Service("userArtService")
public class UserArtServiceImpl implements IUserArtService{

	
	@Autowired
	private IArticleDAO articleDAO;
	
	@Override
	public int getArticleCount(Map<String, Object> paramMap) {
		// TODO Auto-generated method stub
		return articleDAO.getArticleCount(paramMap);
	}

	@Override
	public void getArticlesByPage(Map<String, Object> paramMap) {
		// TODO Auto-generated method stub
       articleDAO.getArticlesByPage(paramMap);
	}

	

	@Override
	public int getArtBrUserCount(Map<String, Object> paramMap) {
		// TODO Auto-generated method stub
		return articleDAO.getArtBrUserCount(paramMap);
	}
	@Override
	public int getArtGreatUserCount(Map<String, Object> paramMap) {
		// TODO Auto-generated method stub
		return articleDAO.getArtGreatUserCount(paramMap);
	}
	
}
